package com.wisewin.circle.dao;

import com.wisewin.circle.entity.db.UserFollowDO;
import com.wisewin.circle.entity.dto.ActivitySignUserDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;

@Component
public interface UserFollowDAO {

    public UserFollowDO queryUserFollow(Integer userId, Integer followUserId);

    public void insert(@Param("obj")UserFollowDO userFollowDO);

    public void delete(Integer userId, Integer followUserId);

    public int queryUserFollowCount(Map<String, Object> map);

    public List<ActivitySignUserDTO> queryUserFollowList(Map<String, Object> map);

    public int queryUserFansCount(Map<String, Object> map);

    public List<ActivitySignUserDTO> queryUserFansList(Map<String, Object> map);
}
